﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectShare
{
    /// <summary>
    /// 返回的基本信息
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Pager<T>
    {
        /// <summary>
        /// 总数
        /// </summary>
        public int total { get; set; }
        /// <summary>
        /// 数据集
        /// </summary>
        public T rows { get; set; }
        /// <summary>
        /// 返回状态结果：DefaultKey值列表
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 輸出信息
        /// </summary>
        public string message { get; set; }
    }
    public class ResResult<T>
    {
        public T model { get; set; }
        /// <summary>
        /// 返回状态结果：DefaultKey值列表
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 輸出信息
        /// </summary>
        public string message { get; set; }

    }
}
